<!DOCTYPE html>
<!-- saved from url=(0080)https://juejin.im/book/5bdc715fe51d454e755f75ef/section/5be91751e51d450ee5063ef5 -->
<html lang="zh-CN"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"><meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no,viewport-fit=cover"><meta name="google-site-verification" content="cCHsgG9ktuCTgWgYfqCJql8AeR4gAne4DTZqztPoirE"><meta name="apple-itunes-app" content="app-id=987739104"><meta name="baidu-site-verification" content="qiK2a1kcFc"><meta name="360-site-verification" content="4c3c7d57d59f0e1a308462fbc7fd7e51"><meta name="sogou_site_verification" content="c49WUDZczQ"><style>body {
        font-size: 16px;
        line-height: 2;
      }
      a, button, input {
        margin: 1rem 1.5rem;
      }
      img {
        width: 0;
        height: 0;
      }
      #juejin {
        overflow-x: hidden;
      }</style><title data-vue-meta="true">前端面试之道 - yck - 掘金小册</title><link rel="apple-touch-icon" sizes="180x180" href="https://b-gold-cdn.xitu.io/favicons/v2/apple-touch-icon.png"><link rel="icon" type="image/png" sizes="32x32" href="https://b-gold-cdn.xitu.io/favicons/v2/favicon-32x32.png"><link rel="icon" type="image/png" sizes="16x16" href="https://b-gold-cdn.xitu.io/favicons/v2/favicon-16x16.png"><link rel="manifest" href="https://b-gold-cdn.xitu.io/favicons/v2/manifest.json"><link rel="mask-icon" href="https://b-gold-cdn.xitu.io/favicons/v2/safari-pinned-tab.svg" color="#5bbad5"><link rel="shortcut icon" href="https://b-gold-cdn.xitu.io/favicons/v2/favicon.ico"><meta name="msapplication-config" content="https://b-gold-cdn.xitu.io/favicons/v2/browserconfig.xml"><meta name="theme-color" content="#ffffff"><link rel="search" title="掘金" href="https://b-gold-cdn.xitu.io/conf/search.xml" type="application/opensearchdescription+xml"><link rel="stylesheet" href="./24.监控_files/ionicons.min.css"><link rel="stylesheet" href="./24.监控_files/iconfont.css"><link href="./24.监控_files/0.6c6fc7db91a7d5cf8ffb.css" rel="stylesheet"><script async="" src="./24.监控_files/hm.js"></script><script async="" src="./24.监控_files/analytics.js"></script><script type="text/javascript" async="" src="./24.监控_files/vds.js"></script><script charset="utf-8" src="./24.监控_files/12.25eae53404ada9976238.js"></script><meta data-vmid="keywords" name="keywords" content="掘金,稀土,Vue.js,微信小程序,Kotlin,RxJava,React Native,Wireshark,敏捷开发,Bootstrap,OKHttp,正则表达式,WebGL,Webpack,Docker,MVVM" data-vue-meta="true"><meta data-vmid="description" name="description" content="掘金是一个帮助开发者成长的社区，是给开发者用的 Hacker News，给设计师用的 Designer News，和给产品经理用的 Medium。掘金的技术文章由稀土上聚集的技术大牛和极客共同编辑为你筛选出最优质的干货，其中包括：Android、iOS、前端、后端等方面的内容。用户每天都可以在这里找到技术世界的头条内容。与此同时，掘金内还有沸点、掘金翻译计划、线下活动、专栏文章等内容。即使你是 GitHub、StackOverflow、开源中国的用户，我们相信你也可以在这里有所收获。" data-vue-meta="true"><script async="" src="./24.监控_files/aliplayer-min.js"></script></head><body><div id="juejin" data-v-35e99930=""><div class="global-component-box" data-v-35e99930=""><!----><div data-v-330b09d9="" data-v-35e99930="" class="alert-list alert-list"></div><!----><!----><!----><div class="emoji-barrage" data-v-0f3d7540="" data-v-35e99930=""><!----></div><div class="book-new-user-award-popup" style="display:none;" data-v-1596580a="" data-v-35e99930=""><div class="content-box" style="display:;" data-v-1596580a=""><div class="close ion-close-round" data-v-1596580a=""></div><div class="header" data-v-1596580a=""><div class="icon" data-v-1596580a=""><img src="./24.监控_files/icon.a87e5ae.svg" data-v-1596580a=""></div><div class="txt" data-v-1596580a="">新人专享好礼</div></div><div class="desc" data-v-1596580a="">凡未购买过小册的用户，均可领取三张 5 折新人专享券，购买小册时自动使用专享券，最高可节省 45 元。</div><div class="tickets" data-v-1596580a=""><div class="ticket" data-v-1596580a=""><div class="ticket__inner" data-v-1596580a=""><div class="enjoy" data-v-1596580a=""><span class="new-title" data-v-1596580a="">小册新人 5 折券</span></div><div class="sale" data-v-1596580a="">最高可省 15 元</div></div></div><div class="ticket" data-v-1596580a=""><div class="ticket__inner" data-v-1596580a=""><div class="enjoy" data-v-1596580a=""><span class="new-title" data-v-1596580a="">小册新人 5 折券</span></div><div class="sale" data-v-1596580a="">最高可省 15 元</div></div></div><div class="ticket" data-v-1596580a=""><div class="ticket__inner" data-v-1596580a=""><div class="enjoy" data-v-1596580a=""><span class="new-title" data-v-1596580a="">小册新人 5 折券</span></div><div class="sale" data-v-1596580a="">最高可省 15 元</div></div></div></div><div class="remark" data-v-1596580a="">注：专享券的使用期限在领券的七天内。</div><div class="submit-btn" data-v-1596580a="">一键领取</div></div><div class="model success" style="display:none;" data-v-1596580a=""><div class="heading" data-v-1596580a="">领取成功</div><div class="content-text" data-v-1596580a="">购买小册时自动使用专享券</div><div class="btn-success-footer" data-v-1596580a=""><div class="btn-ok" data-v-1596580a="">知道了</div><div class="btn-ok btn-link" data-v-1596580a="">前往小册首页</div></div></div><div class="model fail" style="display:none;" data-v-1596580a=""><div class="heading" data-v-1596580a="">领取失败</div><div class="content-text" data-v-1596580a="">本活动仅适用于小册新用户</div><div class="btn-ok" data-v-1596580a="">知道了</div></div></div><!----><!----><div class="bind-phone-number-modal-box" data-v-b421b7f4="" data-v-35e99930=""><div st:block="bindPhoneNumberModal" class="modal-mask" style="display:none;" data-v-b421b7f4=""></div><form class="bind-phone-number-form" style="display:none;" data-v-b421b7f4=""><i title="关闭" class="close-btn ion-close-round" data-v-b421b7f4=""></i><h1 class="title" data-v-b421b7f4="">提示</h1><h2 class="hint" data-v-b421b7f4="">根据我国<a href="http://www.npc.gov.cn/npc/xinwen/2016-11/07/content_2001605.htm" target="_blank" style="color:#007fff">《网络安全法》</a>，您需要绑定手机号后才可在掘金社区内发布内容。</h2><div class="input-group" data-v-b421b7f4=""><div class="input-box" data-v-b421b7f4=""><input maxlength="64" placeholder="请输入要绑定的手机号码" value="" class="input" data-v-b421b7f4=""></div><!----><!----></div><button st:name="bindBtn" class="btn" data-v-b421b7f4="">绑定手机</button></form></div></div><!----><div data-v-54b8e7d6="" data-v-35e99930="" class="book-read-view"><section data-v-54b8e7d6="" class="book-section"><div data-v-54b8e7d6="" class="book-summary"><div data-v-54b8e7d6="" class="book-summary-masker"></div><div data-v-54b8e7d6="" class="book-summary-inner"><div data-v-54b8e7d6="" class="book-summary__header"><a data-v-54b8e7d6="" href="https://juejin.im/books" target="" rel="" class="logo"><img data-v-54b8e7d6="" src="./24.监控_files/logo.a7995ad.svg"></a><div data-v-54b8e7d6="" class="label">小册</div><!----></div><!----><div data-v-d0eb2184="" data-v-54b8e7d6="" class="book-directory book-directory bought"><a data-v-d0eb2184="" class="section section-link read"><div data-v-d0eb2184="" class="step"><div data-v-d0eb2184="" class="step-btn">1</div></div><div data-v-d0eb2184="" class="center"><div data-v-d0eb2184="" class="title">小册食用指南</div><!----><!----></div><!----></a><a data-v-d0eb2184="" class="section section-link read"><div data-v-d0eb2184="" class="step"><div data-v-d0eb2184="" class="step-btn">2</div></div><div data-v-d0eb2184="" class="center"><div data-v-d0eb2184="" class="title">JS 基础知识点及常考面试题（一）</div><!----><!----></div><!----></a><a data-v-d0eb2184="" class="section section-link read"><div data-v-d0eb2184="" class="step"><div data-v-d0eb2184="" class="step-btn">3</div></div><div data-v-d0eb2184="" class="center"><div data-v-d0eb2184="" class="title">JS 基础知识点及常考面试题（二）</div><!----><!----></div><!----></a><a data-v-d0eb2184="" class="section section-link read"><div data-v-d0eb2184="" class="step"><div data-v-d0eb2184="" class="step-btn">4</div></div><div data-v-d0eb2184="" class="center"><div data-v-d0eb2184="" class="title">ES6 知识点及常考面试题</div><!----><!----></div><!----></a><a data-v-d0eb2184="" class="section section-link read"><div data-v-d0eb2184="" class="step"><div data-v-d0eb2184="" class="step-btn">5</div></div><div data-v-d0eb2184="" class="center"><div data-v-d0eb2184="" class="title">JS 异步编程及常考面试题</div><!----><!----></div><!----></a><a data-v-d0eb2184="" class="section section-link read"><div data-v-d0eb2184="" class="step"><div data-v-d0eb2184="" class="step-btn">6</div></div><div data-v-d0eb2184="" class="center"><div data-v-d0eb2184="" class="title">手写 Promise</div><!----><!----></div><!----></a><a data-v-d0eb2184="" class="section section-link read"><div data-v-d0eb2184="" class="step"><div data-v-d0eb2184="" class="step-btn">7</div></div><div data-v-d0eb2184="" class="center"><div data-v-d0eb2184="" class="title">Event Loop</div><!----><!----></div><!----></a><a data-v-d0eb2184="" class="section section-link read"><div data-v-d0eb2184="" class="step"><div data-v-d0eb2184="" class="step-btn">8</div></div><div data-v-d0eb2184="" class="center"><div data-v-d0eb2184="" class="title">JS 进阶知识点及常考面试题</div><!----><!----></div><!----></a><a data-v-d0eb2184="" class="section section-link read"><div data-v-d0eb2184="" class="step"><div data-v-d0eb2184="" class="step-btn">9</div></div><div data-v-d0eb2184="" class="center"><div data-v-d0eb2184="" class="title">JS 思考题</div><!----><!----></div><!----></a><a data-v-d0eb2184="" class="section section-link read"><div data-v-d0eb2184="" class="step"><div data-v-d0eb2184="" class="step-btn">10</div></div><div data-v-d0eb2184="" class="center"><div data-v-d0eb2184="" class="title">DevTools Tips</div><!----><!----></div><!----></a><a data-v-d0eb2184="" class="section section-link read"><div data-v-d0eb2184="" class="step"><div data-v-d0eb2184="" class="step-btn">11</div></div><div data-v-d0eb2184="" class="center"><div data-v-d0eb2184="" class="title">浏览器基础知识点及常考面试题</div><!----><!----></div><!----></a><a data-v-d0eb2184="" class="section section-link read"><div data-v-d0eb2184="" class="step"><div data-v-d0eb2184="" class="step-btn">12</div></div><div data-v-d0eb2184="" class="center"><div data-v-d0eb2184="" class="title">浏览器缓存机制</div><!----><!----></div><!----></a><a data-v-d0eb2184="" class="section section-link read"><div data-v-d0eb2184="" class="step"><div data-v-d0eb2184="" class="step-btn">13</div></div><div data-v-d0eb2184="" class="center"><div data-v-d0eb2184="" class="title">浏览器渲染原理</div><!----><!----></div><!----></a><a data-v-d0eb2184="" class="section section-link read"><div data-v-d0eb2184="" class="step"><div data-v-d0eb2184="" class="step-btn">14</div></div><div data-v-d0eb2184="" class="center"><div data-v-d0eb2184="" class="title">安全防范知识点</div><!----><!----></div><!----></a><a data-v-d0eb2184="" class="section section-link read"><div data-v-d0eb2184="" class="step"><div data-v-d0eb2184="" class="step-btn">15</div></div><div data-v-d0eb2184="" class="center"><div data-v-d0eb2184="" class="title">从 V8 中看 JS 性能优化</div><!----><!----></div><!----></a><a data-v-d0eb2184="" class="section section-link read"><div data-v-d0eb2184="" class="step"><div data-v-d0eb2184="" class="step-btn">16</div></div><div data-v-d0eb2184="" class="center"><div data-v-d0eb2184="" class="title">性能优化琐碎事</div><!----><!----></div><!----></a><a data-v-d0eb2184="" class="section section-link read"><div data-v-d0eb2184="" class="step"><div data-v-d0eb2184="" class="step-btn">17</div></div><div data-v-d0eb2184="" class="center"><div data-v-d0eb2184="" class="title">Webpack 性能优化</div><!----><!----></div><!----></a><a data-v-d0eb2184="" class="section section-link read"><div data-v-d0eb2184="" class="step"><div data-v-d0eb2184="" class="step-btn">18</div></div><div data-v-d0eb2184="" class="center"><div data-v-d0eb2184="" class="title">实现小型打包工具</div><!----><!----></div><!----></a><a data-v-d0eb2184="" class="section section-link read"><div data-v-d0eb2184="" class="step"><div data-v-d0eb2184="" class="step-btn">19</div></div><div data-v-d0eb2184="" class="center"><div data-v-d0eb2184="" class="title">React 和 Vue 两大框架之间的相爱相杀</div><!----><!----></div><!----></a><a data-v-d0eb2184="" class="section section-link read"><div data-v-d0eb2184="" class="step"><div data-v-d0eb2184="" class="step-btn">20</div></div><div data-v-d0eb2184="" class="center"><div data-v-d0eb2184="" class="title">Vue 常考基础知识点</div><!----><!----></div><!----></a><a data-v-d0eb2184="" class="section section-link read"><div data-v-d0eb2184="" class="step"><div data-v-d0eb2184="" class="step-btn">21</div></div><div data-v-d0eb2184="" class="center"><div data-v-d0eb2184="" class="title">Vue 常考进阶知识点</div><!----><!----></div><!----></a><a data-v-d0eb2184="" class="section section-link read"><div data-v-d0eb2184="" class="step"><div data-v-d0eb2184="" class="step-btn">22</div></div><div data-v-d0eb2184="" class="center"><div data-v-d0eb2184="" class="title">React 常考基础知识点</div><!----><!----></div><!----></a><a data-v-d0eb2184="" class="section section-link read"><div data-v-d0eb2184="" class="step"><div data-v-d0eb2184="" class="step-btn">23</div></div><div data-v-d0eb2184="" class="center"><div data-v-d0eb2184="" class="title">React 常考进阶知识点</div><!----><!----></div><!----></a><a data-v-d0eb2184="" class="section route-active section-link"><div data-v-d0eb2184="" class="step"><div data-v-d0eb2184="" class="step-btn">24</div></div><div data-v-d0eb2184="" class="center"><div data-v-d0eb2184="" class="title">监控</div><!----><!----></div><!----></a><a data-v-d0eb2184="" class="section section-link"><div data-v-d0eb2184="" class="step"><div data-v-d0eb2184="" class="step-btn">25</div></div><div data-v-d0eb2184="" class="center"><div data-v-d0eb2184="" class="title">UDP</div><!----><!----></div><!----></a><a data-v-d0eb2184="" class="section section-link"><div data-v-d0eb2184="" class="step"><div data-v-d0eb2184="" class="step-btn">26</div></div><div data-v-d0eb2184="" class="center"><div data-v-d0eb2184="" class="title">TCP</div><!----><!----></div><!----></a><a data-v-d0eb2184="" class="section section-link"><div data-v-d0eb2184="" class="step"><div data-v-d0eb2184="" class="step-btn">27</div></div><div data-v-d0eb2184="" class="center"><div data-v-d0eb2184="" class="title">HTTP 及 TLS</div><!----><!----></div><!----></a><a data-v-d0eb2184="" class="section section-link"><div data-v-d0eb2184="" class="step"><div data-v-d0eb2184="" class="step-btn">28</div></div><div data-v-d0eb2184="" class="center"><div data-v-d0eb2184="" class="title">HTTP/2 及 HTTP/3</div><!----><!----></div><!----></a><a data-v-d0eb2184="" class="section section-link"><div data-v-d0eb2184="" class="step"><div data-v-d0eb2184="" class="step-btn">29</div></div><div data-v-d0eb2184="" class="center"><div data-v-d0eb2184="" class="title">输入 URL 到页面渲染的整个流程</div><!----><!----></div><!----></a><a data-v-d0eb2184="" class="section section-link"><div data-v-d0eb2184="" class="step"><div data-v-d0eb2184="" class="step-btn">30</div></div><div data-v-d0eb2184="" class="center"><div data-v-d0eb2184="" class="title">设计模式</div><!----><!----></div><!----></a><a data-v-d0eb2184="" class="section section-link"><div data-v-d0eb2184="" class="step"><div data-v-d0eb2184="" class="step-btn">31</div></div><div data-v-d0eb2184="" class="center"><div data-v-d0eb2184="" class="title">常见数据结构</div><!----><!----></div><!----></a><a data-v-d0eb2184="" class="section section-link"><div data-v-d0eb2184="" class="step"><div data-v-d0eb2184="" class="step-btn">32</div></div><div data-v-d0eb2184="" class="center"><div data-v-d0eb2184="" class="title">常考算法题解析</div><!----><!----></div><!----></a><a data-v-d0eb2184="" class="section section-link"><div data-v-d0eb2184="" class="step"><div data-v-d0eb2184="" class="step-btn">33</div></div><div data-v-d0eb2184="" class="center"><div data-v-d0eb2184="" class="title">CSS 常考面试题资料</div><!----><!----></div><!----></a><a data-v-d0eb2184="" class="section section-link"><div data-v-d0eb2184="" class="step"><div data-v-d0eb2184="" class="step-btn">34</div></div><div data-v-d0eb2184="" class="center"><div data-v-d0eb2184="" class="title">如何写好一封简历</div><!----><!----></div><!----></a><a data-v-d0eb2184="" class="section section-link"><div data-v-d0eb2184="" class="step"><div data-v-d0eb2184="" class="step-btn">35</div></div><div data-v-d0eb2184="" class="center"><div data-v-d0eb2184="" class="title">面试常用技巧</div><!----><!----></div><!----></a><a data-v-d0eb2184="" class="section section-link"><div data-v-d0eb2184="" class="step"><div data-v-d0eb2184="" class="step-btn">36</div></div><div data-v-d0eb2184="" class="center"><div data-v-d0eb2184="" class="title">前方的路，让我们结伴同行</div><!----><!----></div><!----></a></div><div data-v-54b8e7d6="" class="book-summary__footer"><div data-v-54b8e7d6="" class="qr-icon"><img data-v-54b8e7d6="" src="./24.监控_files/qr-icon.881015a.svg"></div><div data-v-54b8e7d6="" class="qr-tips"><span data-v-54b8e7d6="" class="ion-close"></span><div data-v-54b8e7d6="" class="title"><span data-v-54b8e7d6="">关注公众号</span><span data-v-54b8e7d6="">领取优惠码</span></div><div data-v-54b8e7d6="" class="qr-img"><img data-v-54b8e7d6="" src="./24.监控_files/wx-qr.13d8b4d.png"></div></div></div></div></div><div data-v-54b8e7d6="" class="book-content"><div data-v-54b8e7d6="" class="book-content-inner"><div data-v-54b8e7d6="" class="book-content__header visible"><div data-v-54b8e7d6="" class="switch"><img data-v-54b8e7d6="" src="./24.监控_files/icon.3e69d5a.svg"></div><div data-v-54b8e7d6="" class="menu"><img data-v-54b8e7d6="" src="./24.监控_files/menu.74b9add.svg"></div><div data-v-54b8e7d6="" class="title"><a data-v-54b8e7d6="" href="https://juejin.im/book/5bdc715fe51d454e755f75ef" target="" rel="">前端面试之道</a></div><div data-v-ad718278="" data-v-54b8e7d6="" class="user-auth user-auth"><div data-v-ad718278="" class="nav-item menu"><div data-v-6795359b="" data-v-67a669a2="" data-v-ad718278="" data-src="https://mirror-gold-cdn.xitu.io/168e08e4f81e924deaa?imageView2/1/w/100/h/100/q/85/format/webp/interlace/1" class="lazy avatar avatar loaded" style="background-image: url(&quot;https://mirror-gold-cdn.xitu.io/168e08e4f81e924deaa?imageView2/1/w/100/h/100/q/85/format/webp/interlace/1&quot;);"></div><div data-v-ad718278="" class="nav-menu user-dropdown-list" style="display: none;"><ul data-v-ad718278="" class="nav-menu-item-group"><li data-v-ad718278="" class="nav-menu-item"><a data-v-ad718278=""><i data-v-ad718278="" class="fengwei fw-write"></i><span data-v-ad718278="">写文章</span></a></li><!----><li data-v-ad718278="" class="nav-menu-item"><a data-v-ad718278=""><i data-v-ad718278="" class="fengwei fw-draft"></i><span data-v-ad718278="">草稿</span></a></li></ul><ul data-v-ad718278="" class="nav-menu-item-group"><li data-v-ad718278="" class="nav-menu-item"><a data-v-ad718278="" href="https://juejin.im/user/5aa105a7518825555f0c8a90"><i data-v-ad718278="" class="fengwei fw-person"></i><span data-v-ad718278="">我的主页</span></a></li><li data-v-ad718278="" class="nav-menu-item"><a data-v-ad718278="" href="https://juejin.im/user/5aa105a7518825555f0c8a90/likes"><i data-v-ad718278="" class="fengwei fw-like"></i><span data-v-ad718278="">我喜欢的</span></a></li><!----><li data-v-ad718278="" class="nav-menu-item"><a data-v-ad718278="" href="https://juejin.im/user/5aa105a7518825555f0c8a90/collections"><i data-v-ad718278="" class="fengwei fw-collection"></i><span data-v-ad718278="">我的收藏集</span></a></li><li data-v-ad718278="" class="nav-menu-item"><a data-v-ad718278="" href="https://juejin.im/user/5aa105a7518825555f0c8a90/books?type=bought"><i data-v-ad718278="" class="fengwei fw-bought"></i><span data-v-ad718278="">已购</span></a></li><li data-v-ad718278="" class="nav-menu-item"><a data-v-ad718278="" href="https://juejin.im/subscribe"><i data-v-ad718278="" class="fengwei fw-tag"></i><span data-v-ad718278="">标签管理</span></a></li></ul><ul data-v-ad718278="" class="nav-menu-item-group"><li data-v-ad718278="" class="nav-menu-item"><a data-v-ad718278="" href="https://juejin.im/user/settings"><i data-v-ad718278="" class="fengwei fw-setting"></i><span data-v-ad718278="">设置</span></a></li><li data-v-ad718278="" class="nav-menu-item more"><a data-v-ad718278=""><i data-v-ad718278="" class="fengwei fw-info"></i><span data-v-ad718278="">关于</span><i data-v-ad718278="" class="ion-chevron-right more-icon"></i></a><div data-v-ad718278="" class="nav-menu more-dropdown-list"><ul data-v-ad718278="" class="nav-menu-item-group"><li data-v-ad718278="" class="nav-menu-item"><a data-v-ad718278="" href="https://juejin.im/app" target="_blank">下载应用</a></li><li data-v-ad718278="" class="nav-menu-item"><a data-v-ad718278="" href="https://juejin.im/about" target="_blank">关于</a></li><li data-v-ad718278="" class="nav-menu-item"><a data-v-ad718278="" href="https://xitu.io/jobs" target="_blank">加入我们</a></li><li data-v-ad718278="" class="nav-menu-item"><a data-v-ad718278="" href="https://github.com/xitu/gold-miner" rel="nofollow noopener noreferrer" target="_blank">翻译计划</a></li><li data-v-ad718278="" class="nav-menu-item"><a data-v-ad718278="" href="https://bd.juejin.im/?utm_campaign=bd&amp;utm_source=web&amp;utm_medium=nav" target="_blank">合作伙伴</a></li></ul></div></li></ul><ul data-v-ad718278="" class="nav-menu-item-group"><li data-v-ad718278="" class="nav-menu-item"><a data-v-ad718278=""><i data-v-ad718278="" class="fengwei fw-logout"></i><span data-v-ad718278="">登出</span></a></li></ul></div></div><!----></div><!----></div><div data-v-54b8e7d6="" class="book-body transition--next"><div data-v-4842038c="" data-v-54b8e7d6="" class="section-view book-section-content"><div data-v-f8875076="" data-v-4842038c="" class="section-content"><div data-v-f8875076="" class="section-page book-section-view"><div data-v-f8875076="" class="entry-content article-content"><h1 class="heading" data-id="heading-0">监控</h1>
<p>前端监控一般分为三种，分别为页面埋点、性能监控以及异常监控。</p>
<p>这一章节我们将来学习这些监控相关的内容，但是基本不会涉及到代码，只是让大家了解下前端监控该用什么方式实现。毕竟大部分公司都只是使用到了第三方的监控工具，而不是选择自己造轮子。</p>
<h2 class="heading" data-id="heading-1">页面埋点</h2>
<p>页面埋点应该是大家最常写的监控了，一般起码会监控以下几个数据：</p>
<ul>
<li>PV / UV</li>
<li>停留时长</li>
<li>流量来源</li>
<li>用户交互</li>
</ul>
<p>对于这几类统计，一般的实现思路大致可以分为两种，分别为手写埋点和无埋点的方式。</p>
<p>相信第一种方式也是大家最常用的方式，可以自主选择需要监控的数据然后在相应的地方写入代码。这种方式的灵活性很大，但是唯一的缺点就是工作量较大，每个需要监控的地方都得插入代码。</p>
<p>另一种无埋点的方式基本不需要开发者手写埋点了，而是统计所有的事件并且定时上报。这种方式虽然没有前一种方式繁琐了，但是因为统计的是所有事件，所以还需要后期过滤出需要的数据。</p>
<h2 class="heading" data-id="heading-2">性能监控</h2>
<p>性能监控可以很好的帮助开发者了解在各种真实环境下，页面的性能情况是如何的。</p>
<p>对于性能监控来说，我们可以直接使用浏览器自带的 <a target="_blank" href="https://link.juejin.im/?target=https%3A%2F%2Fdeveloper.mozilla.org%2Fzh-CN%2Fdocs%2FWeb%2FAPI%2FPerformance" rel="nofollow noopener noreferrer">Performance API</a> 来实现这个功能。</p>
<p>对于性能监控来说，其实我们只需要调用 <code>performance.getEntriesByType('navigation')</code> 这行代码就行了。对，你没看错，一行代码我们就可以获得页面中各种详细的性能相关信息。</p>
<p></p><figure><img class="lazyload inited" data-src="https://user-gold-cdn.xitu.io/2019/2/7/168c82d1976cc115?imageView2/0/w/1280/h/960/format/webp/ignore-error/1" data-width="444" data-height="570" src="data:image/svg+xml;utf8,&lt;?xml version=&quot;1.0&quot;?&gt;&lt;svg xmlns=&quot;http://www.w3.org/2000/svg&quot; version=&quot;1.1&quot; width=&quot;444&quot; height=&quot;570&quot;&gt;&lt;/svg&gt;"><figcaption></figcaption></figure><p></p>
<p>我们可以发现这行代码返回了一个数组，内部包含了相当多的信息，从数据开始在网络中传输到页面加载完成都提供了相应的数据。</p>
<p></p><figure><img class="lazyload inited" data-src="https://user-gold-cdn.xitu.io/2019/2/7/168c82e5cc721387?imageView2/0/w/1280/h/960/format/webp/ignore-error/1" data-width="844" data-height="284" src="data:image/svg+xml;utf8,&lt;?xml version=&quot;1.0&quot;?&gt;&lt;svg xmlns=&quot;http://www.w3.org/2000/svg&quot; version=&quot;1.1&quot; width=&quot;844&quot; height=&quot;284&quot;&gt;&lt;/svg&gt;"><figcaption></figcaption></figure><p></p>
<h2 class="heading" data-id="heading-3">异常监控</h2>
<p>对于异常监控来说，以下两种监控是必不可少的，分别是代码报错以及接口异常上报。</p>
<p>对于代码运行错误，通常的办法是使用 <code>window.onerror</code> 拦截报错。该方法能拦截到大部分的详细报错信息，但是也有例外</p>
<ul>
<li>对于跨域的代码运行错误会显示 <code>Script error.</code> 对于这种情况我们需要给 <code>script</code> 标签添加 <code>crossorigin</code> 属性</li>
<li>对于某些浏览器可能不会显示调用栈信息，这种情况可以通过 <code>arguments.callee.caller</code> 来做栈递归</li>
</ul>
<p>对于异步代码来说，可以使用 <code>catch</code> 的方式捕获错误。比如 <code>Promise</code> 可以直接使用 <code>catch</code> 函数，<code>async await</code> 可以使用 <code>try catch</code>。</p>
<p>但是要注意线上运行的代码都是压缩过的，需要在打包时生成 sourceMap 文件便于 debug。</p>
<p>对于捕获的错误需要上传给服务器，通常可以通过 <code>img</code> 标签的 <code>src</code> 发起一个请求。</p>
<p>另外接口异常就相对来说简单了，可以列举出出错的状态码。一旦出现此类的状态码就可以立即上报出错。接口异常上报可以让开发人员迅速知道有哪些接口出现了大面积的报错，以便迅速修复问题。</p>
<h2 class="heading" data-id="heading-4">小结</h2>
<p>这一章节内容虽然不多，但是这类监控的知识网上的资料确实不多，相信能给大家一个不错的思路。</p>
</div><section data-v-f8875076="" class="book-comments"><div data-v-f8875076="" class="box-title">留言</div><div data-v-f8875076="" class="comment-box"><div data-v-805e4f50="" data-v-f8875076="" class="comment-form comment-form" id="comment"><div data-v-6795359b="" data-v-67a669a2="" data-v-805e4f50="" data-src="https://mirror-gold-cdn.xitu.io/168e08e4f81e924deaa?imageView2/1/w/100/h/100/q/85/format/webp/interlace/1" class="lazy avatar avatar loaded" style="background-image: url(&quot;https://mirror-gold-cdn.xitu.io/168e08e4f81e924deaa?imageView2/1/w/100/h/100/q/85/format/webp/interlace/1&quot;);"></div><div data-v-b84335ea="" data-v-805e4f50="" class="auth-card"><div data-v-b84335ea="" class="auth-cover"><span data-v-b84335ea="" class="hint"></span>您需要<a data-v-b84335ea="">绑定手机号</a>后才可在掘金社区内发布内容。</div><textarea data-v-805e4f50="" data-v-b84335ea="" placeholder="评论将在后台进行审核，审核通过后对所有人可见" class="content-input" style="overflow: hidden; overflow-wrap: break-word; height: 60px;"></textarea></div><div data-v-805e4f50="" class="action-box" style="display: none;"><div data-v-76be0714="" data-v-805e4f50="" class="image-uploader image-uploader" style="display: none;"><input data-v-76be0714="" type="file" class="input"><button data-v-76be0714="" class="upload-btn"><i data-v-76be0714="" class="icon ion-image"></i><span data-v-76be0714="">上传图片</span></button></div><div data-v-805e4f50="" class="submit-box"><span data-v-805e4f50="" class="submit-text">Ctrl or ⌘ + Enter</span><button data-v-805e4f50="" class="submit-btn">评论</button></div></div><!----></div></div><ul data-v-4c55bf38="" data-v-f8875076="" st:block="commentList" class="comment-list comment-list"><li data-v-4c55bf38="" class="item"><div data-v-3e0a9536="" data-v-4c55bf38="" class="comment"><div data-v-340b99e1="" data-v-3e0a9536="" st:block="userPopover" st:state="57e54430a22b9d00614251ec" class="user-popover-box"><!----><a data-v-3e0a9536="" href="https://juejin.im/user/57e54430a22b9d00614251ec" target="_blank" rel="" data-v-340b99e1=""><div data-v-6795359b="" data-v-67a669a2="" data-v-3e0a9536="" data-src="https://user-gold-cdn.xitu.io/2017/6/27/df28adb63d517eec43a8982f3958b919?imageView2/1/w/100/h/100/q/85/format/webp/interlace/1" class="lazy avatar avatar" style="background-image: none;"></div></a></div><div data-v-3e0a9536="" class="content-box"><div data-v-3e0a9536="" class="header"><div data-v-3e0a9536="" class="user-info"><div data-v-340b99e1="" data-v-3e0a9536="" st:block="userPopover" st:state="57e54430a22b9d00614251ec" class="user-popover-box"><!----><a data-v-3052f648="" data-v-3e0a9536="" href="https://juejin.im/user/57e54430a22b9d00614251ec" target="_blank" rel="" class="username" data-v-340b99e1="">anto<!----></a></div><div data-v-3e0a9536="" class="position"></div></div></div><div data-v-3e0a9536="" class="content"><!----><span data-v-3e0a9536="" class="content-html">期待讲下无埋点内容</span><!----></div><div data-v-3e0a9536="" class="footer"><button data-v-3e0a9536="" class="like-btn"><i data-v-3e0a9536="" class="collection-arrow-ion ion-arrow-up-b"></i><span data-v-3e0a9536="">0</span></button><span data-v-3e0a9536="" class="sub-comment-btn text-pointer"><span data-v-3e0a9536="" class="title">评论</span><div data-v-3e0a9536="" class="sub-comment--arrow" style="display: none;"></div></span><span data-v-3e0a9536="" class="date">2月前</span><!----></div><!----></div><!----></div></li><li data-v-4c55bf38="" class="item"><div data-v-3e0a9536="" data-v-4c55bf38="" class="comment"><div data-v-340b99e1="" data-v-3e0a9536="" st:block="userPopover" st:state="5b3ee34de51d45198855bd9f" class="user-popover-box"><!----><a data-v-3e0a9536="" href="https://juejin.im/user/5b3ee34de51d45198855bd9f" target="_blank" rel="" data-v-340b99e1=""><div data-v-6795359b="" data-v-67a669a2="" data-v-3e0a9536="" data-src="https://user-gold-cdn.xitu.io/2019/3/29/169c7366f452ffe9?imageView2/1/w/100/h/100/q/85/format/webp/interlace/1" class="lazy avatar avatar" style="background-image: none;"></div></a></div><div data-v-3e0a9536="" class="content-box"><div data-v-3e0a9536="" class="header"><div data-v-3e0a9536="" class="user-info"><div data-v-340b99e1="" data-v-3e0a9536="" st:block="userPopover" st:state="5b3ee34de51d45198855bd9f" class="user-popover-box"><!----><a data-v-3052f648="" data-v-3e0a9536="" href="https://juejin.im/user/5b3ee34de51d45198855bd9f" target="_blank" rel="" class="username" data-v-340b99e1="">难得糊涂wxt<!----></a></div><div data-v-3e0a9536="" class="position">web前端</div></div></div><div data-v-3e0a9536="" class="content"><!----><span data-v-3e0a9536="" class="content-html">关于页面埋点，个人觉得这篇文章还是不错的 <a href="https://link.juejin.im/?target=https%3A%2F%2Fsegmentfault.com%2Fa%2F1190000014922668" target="_blank" rel="nofollow noopener noreferrer">https://segmentfault.com/a/1190000014922668</a></span><!----></div><div data-v-3e0a9536="" class="footer"><button data-v-3e0a9536="" class="like-btn"><i data-v-3e0a9536="" class="collection-arrow-ion ion-arrow-up-b"></i><span data-v-3e0a9536="">0</span></button><span data-v-3e0a9536="" class="sub-comment-btn text-pointer"><span data-v-3e0a9536="" class="title">评论</span><div data-v-3e0a9536="" class="sub-comment--arrow" style="display: none;"></div></span><span data-v-3e0a9536="" class="date">2月前</span><!----></div><!----></div><!----></div></li><li data-v-4c55bf38="" class="item"><div data-v-3e0a9536="" data-v-4c55bf38="" class="comment"><div data-v-340b99e1="" data-v-3e0a9536="" st:block="userPopover" st:state="59ed43f46fb9a044fb06e8a7" class="user-popover-box"><!----><a data-v-3e0a9536="" href="https://juejin.im/user/59ed43f46fb9a044fb06e8a7" target="_blank" rel="" data-v-340b99e1=""><div data-v-6795359b="" data-v-67a669a2="" data-v-3e0a9536="" data-src="https://user-gold-cdn.xitu.io/2018/6/22/164251132c080ab4?imageView2/1/w/100/h/100/q/85/format/webp/interlace/1" class="lazy avatar avatar" style="background-image: none;"></div></a></div><div data-v-3e0a9536="" class="content-box"><div data-v-3e0a9536="" class="header"><div data-v-3e0a9536="" class="user-info"><div data-v-340b99e1="" data-v-3e0a9536="" st:block="userPopover" st:state="59ed43f46fb9a044fb06e8a7" class="user-popover-box"><!----><a data-v-3052f648="" data-v-3e0a9536="" href="https://juejin.im/user/59ed43f46fb9a044fb06e8a7" target="_blank" rel="" class="username" data-v-340b99e1="">砖用冰西瓜<a data-v-7bb9dea1="" data-v-3052f648="" href="https://juejin.im/book/5c90640c5188252d7941f5bb/section/5c9065385188252da6320022" target="_blank" rel="" class="rank"><img data-v-7bb9dea1="" src="./24.监控_files/lv-2.f597b88.svg" alt="lv-2"></a></a></div><div data-v-3e0a9536="" class="position"></div></div></div><div data-v-3e0a9536="" class="content"><!----><span data-v-3e0a9536="" class="content-html">监控分类里面的“页面埋点”跟后面的两个不是同一个类型的东西，后面两个是从监控的需求，“页面埋点”是实践的一种，“页面埋点”也可以用来做性能监控。个人认为应该把“页面埋点”换成“用户行为监控”。</span><!----></div><div data-v-3e0a9536="" class="footer"><button data-v-3e0a9536="" class="like-btn"><i data-v-3e0a9536="" class="collection-arrow-ion ion-arrow-up-b"></i><span data-v-3e0a9536="">0</span></button><span data-v-3e0a9536="" class="sub-comment-btn text-pointer"><span data-v-3e0a9536="" class="title">评论</span><div data-v-3e0a9536="" class="sub-comment--arrow" style="display: none;"></div></span><span data-v-3e0a9536="" class="date">2月前</span><!----></div><!----></div><!----></div></li><li data-v-4c55bf38="" class="item"><div data-v-3e0a9536="" data-v-4c55bf38="" class="comment"><div data-v-340b99e1="" data-v-3e0a9536="" st:block="userPopover" st:state="554c90e2e4b0eb4d82937e39" class="user-popover-box"><!----><a data-v-3e0a9536="" href="https://juejin.im/user/554c90e2e4b0eb4d82937e39" target="_blank" rel="" data-v-340b99e1=""><div data-v-6795359b="" data-v-67a669a2="" data-v-3e0a9536="" data-src="https://user-gold-cdn.xitu.io/2016/11/29/610a38b6e6661478ef4f44e51579f74d?imageView2/1/w/100/h/100/q/85/format/webp/interlace/1" class="lazy avatar avatar" style="background-image: none;"></div></a></div><div data-v-3e0a9536="" class="content-box"><div data-v-3e0a9536="" class="header"><div data-v-3e0a9536="" class="user-info"><div data-v-340b99e1="" data-v-3e0a9536="" st:block="userPopover" st:state="554c90e2e4b0eb4d82937e39" class="user-popover-box"><!----><a data-v-3052f648="" data-v-3e0a9536="" href="https://juejin.im/user/554c90e2e4b0eb4d82937e39" target="_blank" rel="" class="username" data-v-340b99e1="">suweya<!----></a></div><div data-v-3e0a9536="" class="position"></div></div></div><div data-v-3e0a9536="" class="content"><!----><span data-v-3e0a9536="" class="content-html">这属于赶进度啊。。。</span><!----></div><div data-v-3e0a9536="" class="footer"><button data-v-3e0a9536="" class="like-btn"><i data-v-3e0a9536="" class="collection-arrow-ion ion-arrow-up-b"></i><span data-v-3e0a9536="">10</span></button><span data-v-3e0a9536="" class="sub-comment-btn text-pointer"><span data-v-3e0a9536="" class="title">收起评论</span><div data-v-3e0a9536="" class="sub-comment--arrow" style=""></div></span><span data-v-3e0a9536="" class="date">3月前</span><!----></div><div data-v-42ee4f35="" data-v-3e0a9536="" class="sub-comment-box sub-comment-box"><div data-v-42ee4f35="" class="sub-comment-box__top"><div data-v-42ee4f35="" class="icon-close"></div><h3 data-v-42ee4f35="">评论</h3></div><div data-v-42ee4f35="" class="sub-comment-box__inner"><div data-v-42ee4f35=""><ul data-v-42ee4f35="" class="sub-comment-list"><li data-v-42ee4f35="" class="item"><div data-v-b9a92622="" data-v-42ee4f35="" class="sub-comment sub-comment"><div data-v-340b99e1="" data-v-b9a92622="" st:block="userPopover" st:state="5b63b4acf265da0f9d1a1e1e" class="user-popover-box user-popover--avatar"><!----><div data-v-6795359b="" data-v-67a669a2="" data-v-b9a92622="" data-src="https://user-gold-cdn.xitu.io/2018/9/28/1661ee6d49748930?imageView2/1/w/100/h/100/q/85/format/webp/interlace/1" class="lazy avatar avatar" data-v-340b99e1="" style="background-image: none;"></div></div><div data-v-b9a92622="" class="content-box"><div data-v-b9a92622="" class="header"><div data-v-b9a92622="" class="user-info"><div data-v-340b99e1="" data-v-b9a92622="" st:block="userPopover" st:state="5b63b4acf265da0f9d1a1e1e" class="user-popover-box user-popover--info"><!----><a data-v-3052f648="" data-v-b9a92622="" href="https://juejin.im/user/5b63b4acf265da0f9d1a1e1e" target="_blank" rel="" class="username username" data-v-340b99e1="">QianBaiDuHai<!----></a></div><div data-v-b9a92622="" class="position">FE @ YDJ</div></div></div><div data-v-b9a92622="" class="content"><!----><span data-v-b9a92622="" class="content-html">在过年的时候写的，有那么一丢丢赶进度的感觉</span><!----></div><div data-v-b9a92622="" class="footer"><span data-v-b9a92622="" class="date">1月前</span><a data-v-b9a92622="" class="reply-btn">回复</a><!----></div></div><!----></div></li></ul><!----></div><form data-v-42ee4f35="" class="reply-form"><div data-v-b84335ea="" data-v-42ee4f35="" class="auth-card"><div data-v-b84335ea="" class="auth-cover"><span data-v-b84335ea="" class="hint"></span>您需要<a data-v-b84335ea="">绑定手机号</a>后才可在掘金社区内发布内容。</div><textarea data-v-42ee4f35="" data-v-b84335ea="" rows="1" maxlength="1024" placeholder="评论审核通过后显示" style="overflow: hidden; overflow-wrap: break-word; height: 31px;"></textarea></div><button data-v-42ee4f35="" class="reply-btn">评论</button></form></div></div></div><!----></div></li><li data-v-4c55bf38="" class="item"><div data-v-3e0a9536="" data-v-4c55bf38="" class="comment"><div data-v-340b99e1="" data-v-3e0a9536="" st:block="userPopover" st:state="5ae916bc6fb9a07ac36343f7" class="user-popover-box"><!----><a data-v-3e0a9536="" href="https://juejin.im/user/5ae916bc6fb9a07ac36343f7" target="_blank" rel="" data-v-340b99e1=""><div data-v-6795359b="" data-v-67a669a2="" data-v-3e0a9536="" data-src="https://user-gold-cdn.xitu.io/2018/5/2/1631e8adb6c32a66?imageView2/1/w/100/h/100/q/85/format/webp/interlace/1" class="lazy avatar avatar" style="background-image: none;"></div></a></div><div data-v-3e0a9536="" class="content-box"><div data-v-3e0a9536="" class="header"><div data-v-3e0a9536="" class="user-info"><div data-v-340b99e1="" data-v-3e0a9536="" st:block="userPopover" st:state="5ae916bc6fb9a07ac36343f7" class="user-popover-box"><!----><a data-v-3052f648="" data-v-3e0a9536="" href="https://juejin.im/user/5ae916bc6fb9a07ac36343f7" target="_blank" rel="" class="username" data-v-340b99e1="">suhangdev<!----></a></div><div data-v-3e0a9536="" class="position">前端工程师</div></div></div><div data-v-3e0a9536="" class="content"><!----><span data-v-3e0a9536="" class="content-html">能不能分享下前端无埋点方案的实现思路</span><!----></div><div data-v-3e0a9536="" class="footer"><button data-v-3e0a9536="" class="like-btn"><i data-v-3e0a9536="" class="collection-arrow-ion ion-arrow-up-b"></i><span data-v-3e0a9536="">0</span></button><span data-v-3e0a9536="" class="sub-comment-btn text-pointer"><span data-v-3e0a9536="" class="title">评论</span><div data-v-3e0a9536="" class="sub-comment--arrow" style="display: none;"></div></span><span data-v-3e0a9536="" class="date">3月前</span><!----></div><!----></div><!----></div></li><li data-v-4c55bf38="" class="item"><div data-v-3e0a9536="" data-v-4c55bf38="" class="comment"><div data-v-340b99e1="" data-v-3e0a9536="" st:block="userPopover" st:state="5c22db7d6fb9a049a42f1549" class="user-popover-box"><!----><a data-v-3e0a9536="" href="https://juejin.im/user/5c22db7d6fb9a049a42f1549" target="_blank" rel="" data-v-340b99e1=""><div data-v-6795359b="" data-v-67a669a2="" data-v-3e0a9536="" data-src="https://mirror-gold-cdn.xitu.io/168e0979ec3a5725d30?imageView2/1/w/100/h/100/q/85/format/webp/interlace/1" class="lazy avatar avatar" style="background-image: none;"></div></a></div><div data-v-3e0a9536="" class="content-box"><div data-v-3e0a9536="" class="header"><div data-v-3e0a9536="" class="user-info"><div data-v-340b99e1="" data-v-3e0a9536="" st:block="userPopover" st:state="5c22db7d6fb9a049a42f1549" class="user-popover-box"><!----><a data-v-3052f648="" data-v-3e0a9536="" href="https://juejin.im/user/5c22db7d6fb9a049a42f1549" target="_blank" rel="" class="username" data-v-340b99e1="">PerCy<!----></a></div><div data-v-3e0a9536="" class="position"></div></div></div><div data-v-3e0a9536="" class="content"><!----><span data-v-3e0a9536="" class="content-html">没看够啊，这里内容不够仔细，只是知道个大概</span><!----></div><div data-v-3e0a9536="" class="footer"><button data-v-3e0a9536="" class="like-btn"><i data-v-3e0a9536="" class="collection-arrow-ion ion-arrow-up-b"></i><span data-v-3e0a9536="">0</span></button><span data-v-3e0a9536="" class="sub-comment-btn text-pointer"><span data-v-3e0a9536="" class="title">评论</span><div data-v-3e0a9536="" class="sub-comment--arrow" style="display: none;"></div></span><span data-v-3e0a9536="" class="date">3月前</span><!----></div><!----></div><!----></div></li><li data-v-4c55bf38="" class="item"><div data-v-3e0a9536="" data-v-4c55bf38="" class="comment"><div data-v-340b99e1="" data-v-3e0a9536="" st:block="userPopover" st:state="5c358ca16fb9a049fc03b63a" class="user-popover-box"><!----><a data-v-3e0a9536="" href="https://juejin.im/user/5c358ca16fb9a049fc03b63a" target="_blank" rel="" data-v-340b99e1=""><div data-v-6795359b="" data-v-67a669a2="" data-v-3e0a9536="" data-src="https://mirror-gold-cdn.xitu.io/168e09b8771831980b9?imageView2/1/w/100/h/100/q/85/format/webp/interlace/1" class="lazy avatar avatar" style="background-image: none;"></div></a></div><div data-v-3e0a9536="" class="content-box"><div data-v-3e0a9536="" class="header"><div data-v-3e0a9536="" class="user-info"><div data-v-340b99e1="" data-v-3e0a9536="" st:block="userPopover" st:state="5c358ca16fb9a049fc03b63a" class="user-popover-box"><!----><a data-v-3052f648="" data-v-3e0a9536="" href="https://juejin.im/user/5c358ca16fb9a049fc03b63a" target="_blank" rel="" class="username" data-v-340b99e1="">zexiplus<!----></a></div><div data-v-3e0a9536="" class="position">web前端 @ iPanel</div></div></div><div data-v-3e0a9536="" class="content"><!----><span data-v-3e0a9536="" class="content-html">越到后面就越想大纲， 其实知识点很多， 但需要自己搜集一下</span><!----></div><div data-v-3e0a9536="" class="footer"><button data-v-3e0a9536="" class="like-btn"><i data-v-3e0a9536="" class="collection-arrow-ion ion-arrow-up-b"></i><span data-v-3e0a9536="">1</span></button><span data-v-3e0a9536="" class="sub-comment-btn text-pointer"><span data-v-3e0a9536="" class="title">收起评论</span><div data-v-3e0a9536="" class="sub-comment--arrow" style=""></div></span><span data-v-3e0a9536="" class="date">3月前</span><!----></div><div data-v-42ee4f35="" data-v-3e0a9536="" class="sub-comment-box sub-comment-box"><div data-v-42ee4f35="" class="sub-comment-box__top"><div data-v-42ee4f35="" class="icon-close"></div><h3 data-v-42ee4f35="">评论</h3></div><div data-v-42ee4f35="" class="sub-comment-box__inner"><div data-v-42ee4f35=""><ul data-v-42ee4f35="" class="sub-comment-list"><li data-v-42ee4f35="" class="item"><div data-v-b9a92622="" data-v-42ee4f35="" class="sub-comment sub-comment"><div data-v-340b99e1="" data-v-b9a92622="" st:block="userPopover" st:state="5af0fd2c6fb9a07ab83df7b1" class="user-popover-box user-popover--avatar"><!----><div data-v-6795359b="" data-v-67a669a2="" data-v-b9a92622="" data-src="https://b-gold-cdn.xitu.io/v3/static/img/default-avatar.e30559a.svg" class="lazy avatar avatar" data-v-340b99e1="" style="background-image: none;"></div></div><div data-v-b9a92622="" class="content-box"><div data-v-b9a92622="" class="header"><div data-v-b9a92622="" class="user-info"><div data-v-340b99e1="" data-v-b9a92622="" st:block="userPopover" st:state="5af0fd2c6fb9a07ab83df7b1" class="user-popover-box user-popover--info"><!----><a data-v-3052f648="" data-v-b9a92622="" href="https://juejin.im/user/5af0fd2c6fb9a07ab83df7b1" target="_blank" rel="" class="username username" data-v-340b99e1="">Bin_zhu<!----></a></div><div data-v-b9a92622="" class="position">前端</div></div></div><div data-v-b9a92622="" class="content"><!----><span data-v-b9a92622="" class="content-html">的确大纲</span><!----></div><div data-v-b9a92622="" class="footer"><span data-v-b9a92622="" class="date">3月前</span><a data-v-b9a92622="" class="reply-btn">回复</a><!----></div></div><!----></div></li></ul><!----></div><form data-v-42ee4f35="" class="reply-form"><div data-v-b84335ea="" data-v-42ee4f35="" class="auth-card"><div data-v-b84335ea="" class="auth-cover"><span data-v-b84335ea="" class="hint"></span>您需要<a data-v-b84335ea="">绑定手机号</a>后才可在掘金社区内发布内容。</div><textarea data-v-42ee4f35="" data-v-b84335ea="" rows="1" maxlength="1024" placeholder="评论审核通过后显示" style="overflow: hidden; overflow-wrap: break-word; height: 31px;"></textarea></div><button data-v-42ee4f35="" class="reply-btn">评论</button></form></div></div></div><!----></div></li><li data-v-4c55bf38="" class="item"><div data-v-3e0a9536="" data-v-4c55bf38="" class="comment"><div data-v-340b99e1="" data-v-3e0a9536="" st:block="userPopover" st:state="5bcab884e51d450e81091745" class="user-popover-box"><!----><a data-v-3e0a9536="" href="https://juejin.im/user/5bcab884e51d450e81091745" target="_blank" rel="" data-v-340b99e1=""><div data-v-6795359b="" data-v-67a669a2="" data-v-3e0a9536="" data-src="https://user-gold-cdn.xitu.io/2019/3/26/169b59a0d9685be6?imageView2/1/w/100/h/100/q/85/format/webp/interlace/1" class="lazy avatar avatar" style="background-image: none;"></div></a></div><div data-v-3e0a9536="" class="content-box"><div data-v-3e0a9536="" class="header"><div data-v-3e0a9536="" class="user-info"><div data-v-340b99e1="" data-v-3e0a9536="" st:block="userPopover" st:state="5bcab884e51d450e81091745" class="user-popover-box"><!----><a data-v-3052f648="" data-v-3e0a9536="" href="https://juejin.im/user/5bcab884e51d450e81091745" target="_blank" rel="" class="username" data-v-340b99e1="">FE_Yuan<a data-v-7bb9dea1="" data-v-3052f648="" href="https://juejin.im/book/5c90640c5188252d7941f5bb/section/5c9065385188252da6320022" target="_blank" rel="" class="rank"><img data-v-7bb9dea1="" src="./24.监控_files/lv-1.636691c.svg" alt="lv-1"></a></a></div><div data-v-3e0a9536="" class="position">没工作的前端</div></div></div><div data-v-3e0a9536="" class="content"><!----><span data-v-3e0a9536="" class="content-html">哇 到这都没人了么</span><!----></div><div data-v-3e0a9536="" class="footer"><button data-v-3e0a9536="" class="like-btn"><i data-v-3e0a9536="" class="collection-arrow-ion ion-arrow-up-b"></i><span data-v-3e0a9536="">0</span></button><span data-v-3e0a9536="" class="sub-comment-btn text-pointer"><span data-v-3e0a9536="" class="title">评论</span><div data-v-3e0a9536="" class="sub-comment--arrow" style="display: none;"></div></span><span data-v-3e0a9536="" class="date">3月前</span><!----></div><!----></div><!----></div></li><li data-v-4c55bf38="" class="item"><div data-v-3e0a9536="" data-v-4c55bf38="" class="comment"><div data-v-340b99e1="" data-v-3e0a9536="" st:block="userPopover" st:state="5c2c36bae51d451e165efafa" class="user-popover-box"><!----><a data-v-3e0a9536="" href="https://juejin.im/user/5c2c36bae51d451e165efafa" target="_blank" rel="" data-v-340b99e1=""><div data-v-6795359b="" data-v-67a669a2="" data-v-3e0a9536="" data-src="https://mirror-gold-cdn.xitu.io/168e097d56e180f4615?imageView2/1/w/100/h/100/q/85/format/webp/interlace/1" class="lazy avatar avatar" style="background-image: none;"></div></a></div><div data-v-3e0a9536="" class="content-box"><div data-v-3e0a9536="" class="header"><div data-v-3e0a9536="" class="user-info"><div data-v-340b99e1="" data-v-3e0a9536="" st:block="userPopover" st:state="5c2c36bae51d451e165efafa" class="user-popover-box"><!----><a data-v-3052f648="" data-v-3e0a9536="" href="https://juejin.im/user/5c2c36bae51d451e165efafa" target="_blank" rel="" class="username" data-v-340b99e1="">566<!----></a></div><div data-v-3e0a9536="" class="position"></div></div></div><div data-v-3e0a9536="" class="content"><!----><span data-v-3e0a9536="" class="content-html">这里的知识点也太少了吧</span><!----></div><div data-v-3e0a9536="" class="footer"><button data-v-3e0a9536="" class="like-btn"><i data-v-3e0a9536="" class="collection-arrow-ion ion-arrow-up-b"></i><span data-v-3e0a9536="">0</span></button><span data-v-3e0a9536="" class="sub-comment-btn text-pointer"><span data-v-3e0a9536="" class="title">评论</span><div data-v-3e0a9536="" class="sub-comment--arrow" style="display: none;"></div></span><span data-v-3e0a9536="" class="date">3月前</span><!----></div><!----></div><!----></div></li><li data-v-4c55bf38="" class="item"><div data-v-3e0a9536="" data-v-4c55bf38="" class="comment"><div data-v-340b99e1="" data-v-3e0a9536="" st:block="userPopover" st:state="5bfb524e6fb9a04a027a05ae" class="user-popover-box"><!----><a data-v-3e0a9536="" href="https://juejin.im/user/5bfb524e6fb9a04a027a05ae" target="_blank" rel="" data-v-340b99e1=""><div data-v-6795359b="" data-v-67a669a2="" data-v-3e0a9536="" data-src="https://user-gold-cdn.xitu.io/2018/11/26/1674dfb5865d5694?imageView2/1/w/100/h/100/q/85/format/webp/interlace/1" class="lazy avatar avatar" style="background-image: none;"></div></a></div><div data-v-3e0a9536="" class="content-box"><div data-v-3e0a9536="" class="header"><div data-v-3e0a9536="" class="user-info"><div data-v-340b99e1="" data-v-3e0a9536="" st:block="userPopover" st:state="5bfb524e6fb9a04a027a05ae" class="user-popover-box"><!----><a data-v-3052f648="" data-v-3e0a9536="" href="https://juejin.im/user/5bfb524e6fb9a04a027a05ae" target="_blank" rel="" class="username" data-v-340b99e1="">crackedlove<!----></a></div><div data-v-3e0a9536="" class="position">前端攻城狮</div></div></div><div data-v-3e0a9536="" class="content"><!----><span data-v-3e0a9536="" class="content-html">怎么没人？</span><!----></div><div data-v-3e0a9536="" class="footer"><button data-v-3e0a9536="" class="like-btn"><i data-v-3e0a9536="" class="collection-arrow-ion ion-arrow-up-b"></i><span data-v-3e0a9536="">2</span></button><span data-v-3e0a9536="" class="sub-comment-btn text-pointer"><span data-v-3e0a9536="" class="title">评论</span><div data-v-3e0a9536="" class="sub-comment--arrow" style="display: none;"></div></span><span data-v-3e0a9536="" class="date">3月前</span><!----></div><!----></div><!----></div></li><!----></ul></section></div></div><!----><!----></div></div><div data-v-5cee32d6="" data-v-54b8e7d6="" class="book-handle book-direction"><div data-v-5cee32d6="" class="step-btn step-btn--prev"><img data-v-5cee32d6="" src="./24.监控_files/prev.87ad47e.svg"></div><div data-v-5cee32d6="" class="step-btn step-btn--next"><img data-v-5cee32d6="" src="./24.监控_files/next.54d8a35.svg"></div><!----><!----></div><!----></div></div></section><!----><!----><!----><div data-v-cd2ca6a6="" data-v-54b8e7d6="" class="image-viewer-box"><!----></div></div><!----></div>
      
      
      <script type="text/javascript" src="./24.监控_files/runtime.9706721e848de1201705.js"></script><script type="text/javascript" src="./24.监控_files/0.8216307424ab4cc6932c.js"></script><script type="text/javascript" src="./24.监控_files/1.245e4b7164597257667b.js"></script>
    </body></html>